@import "../../variable.less";
.@{prefix} {
  &-contextmenu-panel {
    display: inline-block;
    position: relative;
  }
  &-contextmenu-content {
    width: 120px;
    max-height: 360px;
    overflow: auto;
    position: fixed;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    background-color: #fff;
    z-index: 10;
  }
  &-contextmenu-item {
    padding: 12px;
    display: flex;
    flex-flow: column;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    &:hover {
      background-color: var(--primary-color);
      color: #fff;
    }
    &:last-child {
      border-bottom: none;
    }
  }
}